Permutations Generated by a Depth 2 and Infinite Stack in Series Are Algebraic

نویسندگان

  • MURRAY ELDER
  • ANDREW RECHNITZER
چکیده

We prove that the class of permutations generated by passing an ordered sequence 12 . . . n through a stack of depth 2 and an infinite stack in series is in bijection with an unambiguous context-free language, where a permutation of length n is encoded by a string of length 3n. It follows that the sequence counting the number of permutations of each length has an algebraic generating function. We use the explicit context-free language to compute the generating function: ∑ n≥0 cnt n = (1 + q) ( 1 + 5q − q − q − (1− q) √ (1− q2)(1− 4q − q2) )

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Permutations Generated by a Depth 2 Stack and an Infinite Stack in Series are Algebraic

We prove that the class of permutations generated by passing an ordered sequence 12 . . . n through a stack of depth 2 and an infinite stack in series is in bijection with an unambiguous context-free language, where a permutation of length n is encoded by a string of length 3n. It follows that the sequence counting the number of permutations of each length has an algebraic generating function. ...

متن کامل

Permutations Generated by a Stack of Depth 2 and an Infinite Stack in Series

We prove that the set of permutations generated by a stack of depth two and an infinite stack in series has a basis (defining set of forbidden patterns) consisting of 20 permutations of length 5, 6, 7 and 8. We prove this via a “canonical” generating algorithm.

متن کامل

A stack-based chaotic algorithm for encryption of colored images

In this paper, a new method is presented for encryption of colored images. This method is based on using stack data structure and chaos which make the image encryption algorithm more efficient and robust. In the proposed algorithm, a series of data whose range is between 0 and 3 is generated using chaotic logistic system. Then, the original image is divided into four subimages, and these four i...

متن کامل

New explicit and Soliton Wave Solutions of Some Nonlinear Partial Differential Equations with Infinite Series Method

To start with, having employed transformation wave, some nonlinear partial differential equations have been converted into an ODE. Then, using the infinite series method for equations with similar linear part, the researchers have earned the exact soliton solutions of the selected equations. It is required to state that the infinite series method is a well-organized method for obtaining exact s...

متن کامل

An Axisymmetric Contact Problem of a Thermoelastic Layer on a Rigid Circular Base

We study the thermoelastic deformation of an elastic layer. The upper surface of the medium is subjected to a uniform thermal field along a circular area while the layer is resting on a rigid smooth circular base. The doubly mixed boundary value problem is reduced to a pair of systems of dual integral equations. The both system of the heat conduction and the mechanical problems are calculated b...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2014